# netebbms-lib.pl
# common functions for the netebbms module

BEGIN { push(@INC, '..'); };
use WebminCore;
use Config::Simple;
&init_config();

#--- Debug Code ---------

$access{'apply'} = 1;
$access{'conf_twitter'} = 1;

#------------------------


# is_netebbms_running()
# Returns 0 if not, 1 if it is.
sub is_netebbms_running
{
	# check process number
	if (&find_byname($config{'netebbms'}) > 0) {
		return 1
	} else {
		return 0
	}
}


1;

